//
//  QPlaceMapCell.m
//  QoilPublic
//
//  Created by 杨凯 on 16/7/18.
//  Copyright © 2016年 杨凯. All rights reserved.
//

#import "QPlaceMapCell.h"

@interface QPlaceMapCell()


@end
@implementation QPlaceMapCell

- (void)awakeFromNib {
    [super awakeFromNib];
    [self setSeparatorInset:UIEdgeInsetsZero];
    [self setLayoutMargins:UIEdgeInsetsZero];
}

//- (void)setPoinfo:(AMapPOI *)poinfo{
//
//    _poinfo = poinfo;
//    _titleLabel.text = [NSString stringWithFormat:@"%@",_poinfo.name];
//    _subTitleLabel.text = [NSString stringWithFormat:@"%@",_poinfo.address];
//    
//}

- (void)setTip:(AMapTip *)tip{

    _tip = tip;
    _titleLabel.text = [NSString stringWithFormat:@"%@",_tip.name];
    _subTitleLabel.text = [NSString stringWithFormat:@"%@",_tip.address];
    
}
@end
